package com.sxpi.chapter01;

/**
 * @Author: 董伟豪
 * @Date: 2023/2/4 12:05
 */
public class Test {

    public static void main(String[] args) {
        ICourse javaCourse = CourseFactory.getInstance(1);
        javaCourse.makeNote();
        javaCourse.recordVideo();
        ICourse appCourse = CourseFactory.getInstance(2);
        appCourse.makeNote();
        appCourse.recordVideo();
        ICourse goCourse = CourseFactory.getInstance(3);
        goCourse.makeNote();
        goCourse.recordVideo();

    }
}
